package com.senior.sendmessage.dto.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author baijiliang
 * @date 2022年09月07日 12:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class JokeDTO {

    @JsonProperty("reason")
    private String reason;
    @JsonProperty("result")
    private List<ResultDTO> result;
    @JsonProperty("error_code")
    private Integer errorCode;

    @NoArgsConstructor
    @Data
    public static class ResultDTO {
        @JsonProperty("content")
        private String content;
        @JsonProperty("hashId")
        private String hashId;
        @JsonProperty("unixtime")
        private String unixtime;
    }
}
